// 将BigInt函数当作"转换函数"使用
// 即将BigInt当作普通函数使用并把非bigint值转换为bigint值

let x = BigInt('0x10001000');
console.log( x , typeof x );

x = BigInt('123456789012345678901234567890');
console.log( x , typeof x );

x = BigInt('0b10001000');
console.log( x , typeof x );